<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosio::action Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosio.html">eosio</a></li><li class="navelem"><a class="el" href="structeosio_1_1action.html">action</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="structeosio_1_1action-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::action Struct Reference<div class="ingroups"><a class="el" href="group__contractdev.html">Smart Contract API Reference</a> &raquo; <a class="el" href="group__actionapi.html">Action API</a> &raquo; <a class="el" href="group__actioncppapi.html">Action C++ API</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="action_8hpp_source.html">action.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aebc29a38547efa71db8ec20cc56d69a4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#aebc29a38547efa71db8ec20cc56d69a4">action</a> ()=default</td></tr>
<tr class="separator:aebc29a38547efa71db8ec20cc56d69a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4fa6584567d8c5a24c9eb3254c6ad80"><td class="memTemplParams" colspan="2">template&lt;typename Action &gt; </td></tr>
<tr class="memitem:ac4fa6584567d8c5a24c9eb3254c6ad80"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#ac4fa6584567d8c5a24c9eb3254c6ad80">action</a> (<a class="el" href="classeosio_1_1vector.html">vector</a>&lt; <a class="el" href="structeosio_1_1permission__level.html">permission_level</a> &gt; &amp;&amp;auth, const Action &amp;value)</td></tr>
<tr class="separator:ac4fa6584567d8c5a24c9eb3254c6ad80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38ac83086a7f7250e65453aaa29e2b45"><td class="memTemplParams" colspan="2">template&lt;typename Action &gt; </td></tr>
<tr class="memitem:a38ac83086a7f7250e65453aaa29e2b45"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a38ac83086a7f7250e65453aaa29e2b45">action</a> (const <a class="el" href="structeosio_1_1permission__level.html">permission_level</a> &amp;auth, const Action &amp;value)</td></tr>
<tr class="separator:a38ac83086a7f7250e65453aaa29e2b45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a447f36a63208c2d138b7109b3e13e55f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a447f36a63208c2d138b7109b3e13e55f">send</a> () const</td></tr>
<tr class="separator:a447f36a63208c2d138b7109b3e13e55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a0294f981aa61b546ea82785af0a4a043"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a0294f981aa61b546ea82785af0a4a043">account</a></td></tr>
<tr class="separator:a0294f981aa61b546ea82785af0a4a043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70afd7e77ad5c1b61a0bb8c748962015"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gab0390a1836d20bbbb735af2fce1ad3e8">action_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a70afd7e77ad5c1b61a0bb8c748962015">name</a></td></tr>
<tr class="separator:a70afd7e77ad5c1b61a0bb8c748962015"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab561bf311e71a6a07c09d727fb80ef0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeosio_1_1vector.html">vector</a>&lt; <a class="el" href="structeosio_1_1permission__level.html">permission_level</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#ab561bf311e71a6a07c09d727fb80ef0d">authorization</a></td></tr>
<tr class="separator:ab561bf311e71a6a07c09d727fb80ef0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9458cbd9bd544705512782182f1f997c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceeosio.html#a29af370d237fce6bc6bed2cb98bde53f">bytes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a9458cbd9bd544705512782182f1f997c">data</a></td></tr>
<tr class="separator:a9458cbd9bd544705512782182f1f997c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a06395e5bc63a445bd9670e7dfd4238aa"><td class="memTemplParams" colspan="2">template&lt;typename DataStream &gt; </td></tr>
<tr class="memitem:a06395e5bc63a445bd9670e7dfd4238aa"><td class="memTemplItemLeft" align="right" valign="top">DataStream &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a06395e5bc63a445bd9670e7dfd4238aa">operator&lt;&lt;</a> (DataStream &amp;ds, const <a class="el" href="structeosio_1_1action.html">action</a> &amp;a)</td></tr>
<tr class="separator:a06395e5bc63a445bd9670e7dfd4238aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e13ef7c1db29398bcd93a5b6a49783"><td class="memTemplParams" colspan="2">template&lt;typename DataStream &gt; </td></tr>
<tr class="memitem:a85e13ef7c1db29398bcd93a5b6a49783"><td class="memTemplItemLeft" align="right" valign="top">DataStream &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1action.html#a85e13ef7c1db29398bcd93a5b6a49783">operator&gt;&gt;</a> (DataStream &amp;ds, <a class="el" href="structeosio_1_1action.html">action</a> &amp;a)</td></tr>
<tr class="separator:a85e13ef7c1db29398bcd93a5b6a49783"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This is the packed representation of an action along with meta-data about the authorization levels. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aebc29a38547efa71db8ec20cc56d69a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebc29a38547efa71db8ec20cc56d69a4">&#9670;&nbsp;</a></span>action() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::action::action </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac4fa6584567d8c5a24c9eb3254c6ad80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4fa6584567d8c5a24c9eb3254c6ad80">&#9670;&nbsp;</a></span>action() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Action &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::action::action </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classeosio_1_1vector.html">vector</a>&lt; <a class="el" href="structeosio_1_1permission__level.html">permission_level</a> &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>auth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Action &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Action</td><td>- a type derived from action_meta&lt;Scope,Name&gt; </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>- will be serialized via <a class="el" href="namespaceeosio_1_1raw.html#a57bce67f0c5a31a944d454b8e6eda4b8">raw::pack</a> into data </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a38ac83086a7f7250e65453aaa29e2b45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38ac83086a7f7250e65453aaa29e2b45">&#9670;&nbsp;</a></span>action() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Action &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::action::action </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1permission__level.html">permission_level</a> &amp;&#160;</td>
          <td class="paramname"><em>auth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Action &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Action</td><td>- a type derived from action_meta&lt;Scope,Name&gt; </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>- will be serialized via <a class="el" href="namespaceeosio_1_1raw.html#a57bce67f0c5a31a944d454b8e6eda4b8">raw::pack</a> into data </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a447f36a63208c2d138b7109b3e13e55f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a447f36a63208c2d138b7109b3e13e55f">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void eosio::action::send </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a06395e5bc63a445bd9670e7dfd4238aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06395e5bc63a445bd9670e7dfd4238aa">&#9670;&nbsp;</a></span>operator<<</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DataStream &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DataStream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">DataStream &amp;&#160;</td>
          <td class="paramname"><em>ds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1action.html">action</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a85e13ef7c1db29398bcd93a5b6a49783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e13ef7c1db29398bcd93a5b6a49783">&#9670;&nbsp;</a></span>operator>></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DataStream &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DataStream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">DataStream &amp;&#160;</td>
          <td class="paramname"><em>ds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structeosio_1_1action.html">action</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0294f981aa61b546ea82785af0a4a043"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0294f981aa61b546ea82785af0a4a043">&#9670;&nbsp;</a></span>account</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> eosio::action::account</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab561bf311e71a6a07c09d727fb80ef0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab561bf311e71a6a07c09d727fb80ef0d">&#9670;&nbsp;</a></span>authorization</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeosio_1_1vector.html">vector</a>&lt;<a class="el" href="structeosio_1_1permission__level.html">permission_level</a>&gt; eosio::action::authorization</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9458cbd9bd544705512782182f1f997c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9458cbd9bd544705512782182f1f997c">&#9670;&nbsp;</a></span>data</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceeosio.html#a29af370d237fce6bc6bed2cb98bde53f">bytes</a> eosio::action::data</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a70afd7e77ad5c1b61a0bb8c748962015"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70afd7e77ad5c1b61a0bb8c748962015">&#9670;&nbsp;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#gab0390a1836d20bbbb735af2fce1ad3e8">action_name</a> eosio::action::name</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="action_8hpp_source.html">action.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
